package com.woniu.darryringmall.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.darryringmall.front.entity.Goods;
import com.woniu.darryringmall.front.entity.GoodsSpec;
import com.woniu.darryringmall.front.entity.ViewGoods;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品操作接口
 */
public interface ViewGoodsService extends IService<ViewGoods> {

    ViewGoods view(int gid);

    ViewGoods specChange(String specValues, int goodsId);

    ViewGoods purityChange(String specValues, int goodsId);
    List<Goods> getByType(String type);

}
